package com.ccx.coachsite.task;

import android.content.Context;

import com.ccx.coachsite.http.HttpCallBack;
import com.ccx.coachsite.http.HttpRequest;
import com.ccx.coachsite.http.UrlConfig;

public class LoginStaticTask extends TaskBase{

	public String mobile;
	public String userId;
	public String imei;
	public String version;
	public String imsi;
	
	public LoginStaticTask(HttpCallBack<?> iCall, Context context) {
		super(iCall, context);
	}

	@Override
	protected String genUrl(HttpRequest request) {
		String baseUrl = UrlConfig.getUrlByKey(UrlConfig.LiginStaticKey);
		baseUrl = baseUrl + "?mobile=" + mobile + "&userId=" + userId + "&IMEI=" + imei + "&version="+version + "&IMSI=" + imsi;//+ "&password="+password;
		//Log.e(baseUrl);
		return baseUrl;
	}
}
